package com.gxa.autoparts.admin.service.impl;

import com.gxa.autoparts.admin.mapper.RolePermissionMapper;
import com.gxa.autoparts.admin.service.RolePermissionService;
import com.gxa.autoparts.core.pojo.RolePermission;
import com.gxa.autoparts.core.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("rolePermissionService")
public class RolePermissionServiceImpl extends BaseServiceImpl<RolePermission> implements RolePermissionService {
    @Resource
    private RolePermissionMapper rolePermissionMapper;
    @Override
    public void insertPermission(RolePermission rolePermission) {
        rolePermissionMapper.insertPermission(rolePermission);
    }
}
